{% extends 'theme/jindong/template/master.html' %}

{%load comm_extras %}

{% block head_soruce %}
<link type="text/css" rel="stylesheet" href="/static/theme/jindong/css/tuan.css" />
<style>
	.platlist-tuan {
		overflow: hidden;
		zoom: 1;
		float: left;
	}
	.platlist-tuan li,.platlist-tuan dl {
	background: none;
	float: left;
	width:750px;
	}
</style>
{% endblock %}
{% block body_id %}tuan{% endblock %}
{% block main_content %}
	<div class="mt">
		<h2>
			成功案例
		</h2>
		<div class="extra">
		</div>
	</div>
	<div class="mc">
		<ul class="platlist-tuan">
		{%for tuan in tuans %}
			<li >
				<a target="_blank" href="{%url tuan-detail-info tuan.id %}" style="float: left">
					<img src="/static/productimgs/{{tuan.item.homeimage.thumburl}}" width="100" height="100" alt="{{tuan.item.title}}">
				</a>
				<a target="_blank" href="{%url tuan-detail-info tuan.id %}" >{{tuan.tuan_context}}</a>
			</li>
		{%endfor%}
		</ul>
	</div>
	<br/>
	{% paginator 5 %}
{% endblock %}

{% block right_content %}
<div class="m limitbuy hide" id="limitbuy538" clstag="homepage|keycount|homepage|limitbuy538" style="display: block; ">
	<div class="mt">
		<h2>
			推荐商品
		</h2>
	</div>
	<div class="mc">
		<div id="limit538">
			<ul>
			{%for hot in hots%}
				<li>
					<div class="p-img">
						<a href="{%url product-detail-info hot.item.id %}" target="_blank">
							<img src="/static/productimgs/{{hot.item.homeimage.thumburl}}" width="100" height="100">
						</a>
					</div>
					<div class="p-name">
						<a href="{%url product-detail-info hot.item.id %}" target="_blank">
							{{hot.item.title}}
							<font color="#ff6600">
							</font>
						</a>
					<div>
							<a href="{%url item-tuan-list hot.item.id %}">查看团购信息</a>
						</div>
					</div>
					<div class="p-price">
						零售价：
						<strong>
							￥{{hot.item.price}}
						</strong>
					</div>
				</li>
			{%endfor%}
			</ul>
		</div>
	</div>
</div>
{% endblock %}